@import url('https://fonts.googleapis.com/css2?family=Aoboshi+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=ADLaM+Display&display=swap');
*{
    box-sizing: border-box;
}
body{
  background: #ecf0f3;
    height: 100vh;
    /* overflow: hidden; */
}
nav {
    display: flex;
    width: 100%;
  }
  i#close-menu{
    display: none;
  }
  i#toggle-menu{
    display: none;
  }
  .logo img {
    width: 450px;
    /* visibility: hidden; */
    margin: 15px 0 0 20px;
    border-radius: 6px;
    animation: fadeRight 1s linear;
  }
  .nav-list {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
    animation: fadeLeft 1s linear;
    margin-left: 160px;
  }
  .nav-list li {
    list-style: none;
    position: relative;
  }
  .nav-list li a {
    text-decoration: none;
    font-size: 18px;
    padding: 0 40px;
    font-family: "Aoboshi One", serif;
    color: #000;
  }
  .nav-list li a i {
    padding-left: 5px;
  }
  .nav-list li:nth-child(1):after {
    content: "";
    position: absolute;
    width: 60%;
    height: 2.5px; 
    border-radius: 5px;
    background-color: #0b0b0baf;
    bottom: -8px;
    right: 20%;
    transform: scaleX(0); 
    transform-origin: bottom right;
    transition: transform 0.4s ease; 
  }
  .nav-list li:nth-child(2):after {
      content: "";
      position: absolute;
      width: 60%;
      height: 2.5px; 
      border-radius: 5px;
      background-color: #0b0b0baf;
      bottom: -8px;
      right: 20%;
      transform: scaleX(0); 
      transform-origin: bottom right;
      transition: transform 0.3s ease; 
    }
  
  .nav-list li:hover::after {
    transform: scaleX(1); 
    transform-origin: bottom left;
  }
  .nav-list li a:nth-child(3) {
    padding-top: 15px;
  }
  .nav-list li:nth-child(3) {
    border: 1px solid #003459;
    height: 50px;
    padding-top: 10px;
    margin-top: -10px;
    margin-left: 40px;
    border-radius: 25px;
    background-color: #003459;
    transition: 0.3s ease;
  }
  .nav-list li:nth-child(3):hover {
    background-color: #003459f3;
    
  }
  .form-container{
    width: 100%;
    display:flex;
    justify-content: center;
    height: 75vh;
    align-items: center;
  }

  .form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 0.4em;
    background-color: #ecf0f3;
    align-items: center;
    border-radius: 25px;
    transition: .4s ease-in-out;
    width: 350px;
    height: 500px;
    margin-top: 40px;
    box-shadow: 14px 14px 20px #cbced1, -14px -14px 20px white;
  }
  
  .form:hover {
    transform: scale(1.005);
    border: 1px solid black;
  }
  .form-logo{
    height: 100px;
    width: 100px;
    margin: 40px 0 0 0;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: 7px 7px 10px #cbced1, -7px -7px 10px white;
    display: flex;
    justify-content: center;
  }
  .form-logo img{
    width: 60px;
    aspect-ratio: auto 60 / 90;
    height: 90px;
  }
  
  #heading {
    text-align: center;
    /* margin: 2em; */
    font-size:28px;
    color: #1DA1F2;
    letter-spacing: 1px;
    font-weight: 900;
    font-family: 'Poppins',sans-serif;
  }
  
  .field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 25px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #ecf0f3;
    box-shadow: inset 6px 6px 6px #cbced1, inset -6px -6px 6px white;
  }
  .field i{
    display: none;
  }

  .blink{
    animation:blink 1s alternate infinite;
  }
  
  .input-icon {
    height: 1.3em;
    width: 1.3em;
    fill: #aeaaaa;
  }
  
  .input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #000;
    padding: 8px;
    font-weight: 500;
  }
  
  
  .button1 {
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
    margin-right: 0.5em;
    margin-top: 16px;
    border: none;
    outline: none;
    transition: .4s ease-in-out;
    background-color: #252525;
    color: white;
    cursor: pointer;
    font-family: 'Josefin Sans', sans-serif;
  }
  
  .button1:hover {
    background-color: black;
    color: white;
  }

  /* Responsive */

  @media (max-width:1130px){
    i#close-menu{
      display: inline;
      cursor: pointer;
    }
    i#toggle-menu{
      cursor: pointer;
      display: inline;
    }
    .nav{
      position: fixed;
      right: -100%;
      top: 0;
      height: 80vh;
      margin: 0;
      width: 100%;
      background-color: #012d01;
      border-radius: 0 0 0 90% ;
      z-index: 100;
      transition: .5s;
  
    }
    .fa-bars{
      font-size: 25px;
      position: absolute;
      top: 25px;
      right: 25px;
    }
    .res-nav-list{
      display: flex;
      flex-direction: column;
      height: 80vh;
      margin: 0;
      justify-content: center;
      align-items: center;
      width: 100%;
      right: 0;
      position: absolute;
      background-color: #012d01;
      border-radius: 0 0 0 90% ;
    }
    .res-nav-list li a{
      font-size: 16px;
      color: #fff;
  
    }
    .res-nav-list li{
      margin-bottom: 30px;
    }
    .res-nav-list li:nth-child(3) {
      border: 1px solid #003459;
      height: 50px;
      width: 220px;
      padding-top: 10px;
      margin-top: 0;
      margin-left: 0;
      border-radius: 25px;
      background-color: #003459;
      transition: 0.3s ease;
    } 
    .fa-xmark{
      position: absolute;
      right: 25px;
      top: 20px;
      font-size: 35px;
      z-index: 10;
  
    }
    .show{
      right: 0;
      
    }
  }
  @media(max-width:800px) {
    .logo img{
      width: 250px;
    }
  }
  @media (max-width:450px){
    .logo img{
      width: 200px;
  }
  .form{
    width: 300px;
  }
  }

  /* @keyframes pop {
    0%{
      transform: scale(1);
    }
    50%{
      transform: scale(1.08);
    }
    100%{
      transform: scale(1);
    }
  } */
  /* styles.css */

.blink {
  animation: blink 0.5s infinite alternate;
}

@keyframes blink {
  0% {
      background-color: #ff9999; /* Start with a red background */
  }
  100% {
      background-color: transparent; /* End with a transparent background */
  }
}
